// 轮播图
#banner {
    height: 476px;
    background-color: orange;

    .banner {
        margin: auto;
        width: 794px;
        height: 476px;
        background-color: red;
        position: relative;
        overflow: hidden;

        .imgBox {
            width: 500%;
            height: 476px;
            position: absolute;
            left: 0;
            top: 0;
            display: flex;

            li {
                flex: 1;
                font-size: 100px;
                display: flex;
                justify-content: center;
                align-items: center;
                color: #fff;

                a img {
                    width: 794px;
                    height: 502px;
                }
            }
        }
        ol {
            width: 200px;
            height: 30px;
            position: absolute;
            top: 330px;
            left: 50%;
            bottom: 30px;
            transform: translateX(-50%);
            display: flex;
            justify-content: space-evenly;
            align-items: center;
            li::marker{
                content: "";
            }
            li {
                width: 20px;
                height: 4px;
                background-color: #fff;
                cursor: pointer;

            }
        }
        div{
            width: 30px;
            height: 60px;
            background-color: rgba(0, 0, 0, .3);
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 30px;
            color: #fff;
            cursor: pointer;
            display: none;
        }
        .left {
            left: 0;
        }
        .right {
            right: 0;
        }
        .tu{
            position: absolute;
            bottom: 4px;
            width: 794px;
            height: 112px;
            display: flex;
            justify-content: space-evenly;
            li{
                width: 190px;
                height: 100%;
                border-radius: 6px;

                a img{
                    width: 190px;
                    height: 112px;
                }
            }
        }
    }
    .banner>ol>li.active {
        background-color: red;
    }
    .banner:hover>div {
        display: flex;
    }
    .banner div:hover {
        background-color: rgba(0, 0, 0, .5);
    }
}